package com.adaxi.adc.business.vehicle.feign.service;


import com.adaxi.adc.business.vehicle.feign.FeignConfiguration;
import com.adaxi.adc.business.vehicle.feign.fallback.ExampleFeignFallback;
import com.adaxi.adc.common.common.CommonResult;
import com.adaxi.adc.common.constant.Constants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 学员参考案例
 */
@FeignClient(name = Constants.ADC_MANAGER_APPLICATION_NAME,
        configuration = FeignConfiguration.class)
public interface IExampleFeignService {


    @GetMapping("/say-hello")
    CommonResult sayHello();


}
